package com.invengo.library_db.entity.module_check.offline;

import com.google.gson.annotations.SerializedName;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class UserBean {
    @Id(autoincrement = true)
    @Index
    private Long Id;
    @Unique
    @SerializedName("nStaffID")
    private int userId;
    @SerializedName("szName")
    private String szName;
    @SerializedName("szUserName")
    private String userName;
    @SerializedName("szPassword")
    private String password;
    @SerializedName("bIsValid")
    private Boolean isValid;
    @SerializedName("bSex")
    private Boolean sex;
    @SerializedName("szTelphone")
    private String phone;
    @Transient
    private String szAddress;
    @SerializedName("bIsAdmin")
    private Boolean isAdmin;
    @SerializedName("nDeptID")
    private int deptId;
    @Transient
    private String szFinger;
    @Transient
    private String szMobile;
    @Transient
    private String szEMail;
    @Generated(hash = 167696039)
    public UserBean(Long Id, int userId, String szName, String userName,
            String password, Boolean isValid, Boolean sex, String phone,
            Boolean isAdmin, int deptId) {
        this.Id = Id;
        this.userId = userId;
        this.szName = szName;
        this.userName = userName;
        this.password = password;
        this.isValid = isValid;
        this.sex = sex;
        this.phone = phone;
        this.isAdmin = isAdmin;
        this.deptId = deptId;
    }
    @Generated(hash = 1203313951)
    public UserBean() {
    }
    public Long getId() {
        return this.Id;
    }
    public void setId(Long Id) {
        this.Id = Id;
    }
    public int getUserId() {
        return this.userId;
    }
    public void setUserId(int userId) {
        this.userId = userId;
    }
    public String getSzName() {
        return this.szName;
    }
    public void setSzName(String szName) {
        this.szName = szName;
    }
    public String getUserName() {
        return this.userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPassword() {
        return this.password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public Boolean getIsValid() {
        return this.isValid;
    }
    public void setIsValid(Boolean isValid) {
        this.isValid = isValid;
    }
    public Boolean getSex() {
        return this.sex;
    }
    public void setSex(Boolean sex) {
        this.sex = sex;
    }
    public String getPhone() {
        return this.phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public Boolean getIsAdmin() {
        return this.isAdmin;
    }
    public void setIsAdmin(Boolean isAdmin) {
        this.isAdmin = isAdmin;
    }
    public int getDeptId() {
        return this.deptId;
    }
    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }


}
